package com.example.commandpattern.brush;

import android.graphics.Path;

/**
 * 正常笔刷接口类
 */
public class NormalBrush implements IBrush {

    @Override
    public void down(Path path, float x, float y) {
        path.moveTo(x,y);
    }

    @Override
    public void move(Path path, float x, float y) {
        path.lineTo(x,y);
    }

    @Override
    public void up(Path path, float x, float y) {

    }
}
